package com.example.test.mapper;

import com.example.test.pojo.Holiday;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;

/**
 * @author ymgu
 * @version V1.0
 * @Package com.example.test.mapper
 * @date 2022/6/15 10:11
 */
@Component
public interface HolidayMapper extends Mapper<Holiday> {
    /**
     * 根据日期查询数据
     * @param date
     */
    Holiday selectHolidayByDate(String date);

}
